
bin_PROGRAMS = trx
trx_SOURCES = \
  basic.c gtp_cli.c mtool_cli.c\
  utool_cli.c gtool_cli.c icmp_cli.c  main.c \
  tcp_cli.c udp_cli.c hash.c  \
  gateway/gw_c_cli.c gateway/gw_event.c \
  gateway/netnode.c gateway/netnode_params.c gateway/gw.c \
  gateway/pktio.c gateway/pkt_pool.c gateway/pkt_queue.c \
  l2/prot_arp.c l2/prot_ip.c l2/prot_ipv6.c l2/l2.c \
  l3/prot_icmp.c l3/prot_tcp.c l3/l3.c

trx_CFLAGS = ${BOLT_CFLAGS}
trx_CFLAGS += ${PROT_CFLAGS}
trx_CFLAGS += ${EL_CFLAGS}
trx_CFLAGS += -I${top_srcdir}/libtp
trx_CFLAGS += -I. -Igateway -Il2 -Il3
trx_CFLAGS += -DGATEWAY_SELECT -DTCP_NODELAY -DLINUX -D_DEFAULT_SOURCE

trx_CFLAGS += -g -pthread -Wall -Werror

trx_LDFLAGS = -static \
  ${top_srcdir}/libtp/libtp.la\
   -lstdc++ -lpthread -lm -lrt

trx_LDADD = \
  ${BOLT_LIBS} \
  ${PROT_LIBS} \
  ${EL_LIBS} 
 

CLEANFILES =



